//
//  RGRedPacketsView.h
//  RedGrass
//
//  Created by wukong on 2019/2/24.
//  Copyright © 2019年 hongcaosp. All rights reserved.
//

#import "BaseView.h"

@class RGRedPacketsView;

@protocol RGRedPacketsViewDelegate <NSObject>

////抢红包结果
//-(void) checkRedPacketsGainResultWithView:(RGRedPacketsView *)view isSuccess:(BOOL) success moneyDetail:(NSString *)monyDetail;


//抢红包
-(void) gainRedPacketsView:(RGRedPacketsView *)view;
//关闭红包试图
-(void) choseRedPacketsView:(RGRedPacketsView *)view;

@end

NS_ASSUME_NONNULL_BEGIN

@interface RGRedPacketsView : BaseView

@property (weak, nonatomic) id<RGRedPacketsViewDelegate> viewDelegate;

-(void) changeViewStyleWithIsSuccess:(BOOL)issccuess money:(NSString *)money;

@end

NS_ASSUME_NONNULL_END
